#include "stdafx.h"

//#include <stdio.h>
//#include <conio.h>


#define MAXDATASIZE 100

 class MyBootIRC
{
public:
    MyBootIRC(char * _nick, char * _usr);
    virtual ~MyBootIRC();
    bool setup;
    void start();
    bool charSearch(char *toSearch, char *searchFor);
private:
    int m_port;
	char * m_channel;
   // int s; //the socket descriptor
	SOCKET mySocket;

 
    char *nick;
    char *usr;
 
    bool isConnected(char *buf);
   // char * timeNow();
    bool sendData(char *msg);
    void sendPong(char *buf);
    void msgHandel(char *buf);
	std::string getPipe(char *);

	char *getCmd(char *buf);
};

